variable adj. 1.易變的,變化無(wú)常的,無(wú)定的 (opp. constant, steady)。 2.可變的,能變的;變換的。 3.【數(shù)學(xué)】變量的;【天文學(xué)】變光的;【生物學(xué)】變異的。 Prices are variable according to the exchanges. 物價(jià)跟著匯率變動(dòng)。 a man of variable character 反復(fù)無(wú)常的人。 a rod of variable length (伸縮)如意棒。 a word of variable construction 可以作種種解釋的詞。 variable capital 可變資本。 a variable budget 臨時(shí)預(yù)算。 n. 1.易變的東西。 2.【數(shù)學(xué)】變量,變數(shù),變項(xiàng),變?cè)?(opp. constant);【天文學(xué)】變星 (=variable star);【航?!?方向不定的)變風(fēng),不定風(fēng) (opp. trade wind); 〔pl.〕 (貿(mào)易風(fēng)帶中的)變風(fēng)帶。 adv. -ably ,-ness n.
Maintain a shared variable across all test iterations in a load test 在負(fù)載測(cè)試中的所有測(cè)試迭代間維護(hù)一個(gè)共享變量。
Locks around shared variables allow java threads to quickly and easily communicate and synchronize 給共享變量上鎖就使得java線程能夠快速方便地通信和同步。
Some very strange things can happen if you fail to synchronize when accessing shared variables 如果在訪問(wèn)共享變量的時(shí)候沒(méi)有同步的話,就會(huì)發(fā)生一些奇怪的事情。
You will be able to share variables among the scripted action script and the prefix and suffix scripts 可以在scripted action腳本與前綴腳本和后綴腳本間共享變量。
In the preceding example , the compiler generates a warning message both times the code accesses the shared variable 在前面的示例中,編譯器在代碼通過(guò)實(shí)例訪問(wèn)共享變量
Volatile variables can also be used to store shared variables at a lower cost than that of synchronization , but they have limitations 還可以使用可變變量來(lái)以比同步更低的成本存儲(chǔ)共享變量,但它們有局限性。
A shared variable or event is stored in memory only once , no matter how many or few instances you create of its class or structure 共享變量或事件只能在內(nèi)存中存儲(chǔ)一次,而無(wú)論您創(chuàng)建多少個(gè)它的類或結(jié)構(gòu)的實(shí)例。
Unfortunately , this situation is a common use case for volatile - using a volatile field as a " guard " to indicate that a set of shared variables had been initialized 不幸地,這是volatile常見(jiàn)用例用一個(gè)volatile字段作為“守護(hù)”表明已經(jīng)初始化了一組共享變量。
In particular , nearly every modern processor has instructions for updating shared variables in a way that can either detect or prevent concurrent access from other processors 特別是,幾乎每個(gè)現(xiàn)代處理器都有通過(guò)可以檢測(cè)或阻止其他處理器的并發(fā)訪問(wèn)的方式來(lái)更新共享變量的指令。
Developers may find use for atomic variables directly as a higher - performance replacement for shared counters , sequence number generators , and other independent shared variables that otherwise would have to be protected by synchronization 開(kāi)發(fā)人員可以直接將原子變量用作共享計(jì)數(shù)器、序號(hào)生成器和其他獨(dú)立共享變量的高性能替代,否則必須通過(guò)同步保護(hù)這些變量。